﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0' />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>合作伙伴列表页</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" type="text/css" href="./font/iconfont.css">
    <link rel="stylesheet" type="text/css" href="./css/color.css">
    <link rel="stylesheet" type="text/css" href="./css/global.css">
    <link rel="stylesheet" type="text/css" href="./css/page.css">
    <link rel="stylesheet" type="text/css" href="./css/uzlist.css">
    <link rel="stylesheet" type="text/css" href="./lib/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="./lib/fancybox/fancybox.css" />
</head>

<body>
    <div class="header" style="background:#ffffff;">
        <div class="container">
            <div class="logo fl">
                <div class="logo-img"><a href="./index.html"><img src="./images/0accc80f85507ec130679ba35018b042.jpg" /></a></div>
            </div>
            <div class="nav nav-a fr">
                <ul>
                    <li data-cid="0">
                        <a style="color:#333" target="_self" href="./index.html">首页</a>
                    </li>
                    <li data-cid="9">
                        <a style="color:#333" target="_self" href="./about.html">关于我们</a>
                    </li>
                    <li data-cid="10">
                        <a style="color:#333" target="_self" href="./case.html">成功案例</a>
                        <div id="case-childer" class="childer"></div>
                    </li>
                    <li data-cid="15" class="on">
                        <a style="color:#333" target="_self" href="./partner.html">合作伙伴</a>
                    </li>
                    <li data-cid="12">
                        <a style="color:#333" target="_self" href="./news.html">视讯中心</a>
                    </li>
                    <li data-cid="18">
                        <a style="color:#333" target="_self" href="./contact.html">联系我们</a>
                        <div class="childer">
                            <a target="_self" class="childer-a" href="./contact.html">联系方式</a>
                            <a target="_self" class="childer-a" href="./contact.html">在线留言</a>
                            <a target="_self" class="childer-a" href="./contact.html">地理位置</a>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="back-color">
        <div class="container box-content">
            <div class="con-left">
                <div class="subcat">
                    <div class="sub-tit">
                        <h3>推荐导航</h3>
                        <span class="ar">Recommend</span>
                    </div>
                    <ul>
                        <li><i></i><a href="./about.html">关于我们</a></li>
                        <li><i></i><a href="./case.html">成功案例</a></li>
                        <li class="on"><i></i><a href="./partner.html">合作伙伴</a></li>
                        <li><i></i><a href="./news.html">视讯中心</a></li>
                        <li><i></i><a href="./contact.html">联系我们</a></li>
                    </ul>
                </div>
                <div class="subtac">
                    <p>咨询热线：</p>
                    <strong id="tel" class="ar">400-228-0303</strong>
                </div>
            </div>
            <div class="con-right">
                <div class="current">
                    <div class="curr-left fl">
                        <h3>合作伙伴</h3>
                    </div>
                    <div class="curr-right">
                        <div class="curr-a">
                            <span class="txt">您当前的位置：</span>
                            <a class="home" href="/">首页</a>
                            <i class="icon5s s5you1"></i><a href="./partner.html">合作伙伴</a>
                        </div>
                    </div>
                </div>
                <div class="page-about">
                    <div class="partner-list pb35">
                        <ul class="after"><!--列表内容--></ul>
                        <div class="pages"><!--分戊--></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer footer-a back-black" style='background:#333;'>
        <div class="container">
            <div class="footer-text left">
                <div class="footer-nav">
                    <a target="_self" href="./index.html">首页</a>
                    <a target="_self" href="./about.html">关于我们</a>
                    <a target="_self" href="./case.html">成功案例</a>
                    <a target="_self" href="./partner.html">合作伙伴</a>
                    <a target="_self" href="./news.html">视讯中心</a>
                    <a target="_self" href="./contact.html">联系我们</a>
                </div>
                <div class="copyright"></div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="./lib/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/jquery/jquery.superslide.2.1.1.min.js"></script>
    <script type="text/javascript" src="./lib/wow/wow.min.js"></script>
    <script type="text/javascript" src="./lib/fancybox/fancybox.js"></script>
    <script type="text/javascript" src="./js/common.min.js"></script>
    <script type="text/javascript" src="js/services.js"></script>
    <script type="text/javascript" src="js/logs.js"></script>
    <script type="text/javascript">
        (function ($) {
            $.mainu = {
                init: function () {
                    $.mainu.getSysConfig();
                    $.mainu.getInstitutionCompany();
                    $.mainu.getInfoClass();
                    $.mainu.getInfoArtice();
                },
                getSysConfig: function () {
                    var url = createSysConfigUrl();
                    $.get(url, function (res) {
                        var code = res.code;
                        var msg = res.message;
                        if (code == 0) {
                            var title = res.data.title;
                            var keywords = res.data.keywords;
                            var description = res.data.description;
                            var copyright = res.data.copyright;
                            $("title").text(title);
                            $("meta[name='keywords']").attr({ content: keywords });
                            $("meta[name='description']").attr({ content: description });
                            $(".copyright").text(copyright);
                        }
                    });
                },
                getInstitutionCompany: function () {
                    var url = createInstitutionCompanyUrl();
                    $.get(url, function (res) {
                        var code = res.code;
                        var msg = res.message;
                        if (code == 0) {
                            var tel = res.data.tel;
                            $("#tel").text(tel);
                        }
                    });
                },
                getInfoClass: function () {
                    var id = "4364079078";
                    var path = "list/parent";
                    var url = createInfoClassUrl(path);
                    var queryString = { parentid: 4364079078 };
                    $.get(url, queryString, function (res) {
                        var code = res.code;
                        var msg = res.message;
                        if (code == 0) {
                            var total = res.data.total;
                            var lists = res.data.rows;
                            var columnBody = "";
                            for (var i = 0; i < lists.length; i++) {
                                columnBody += `<a target="_self" class="childer-a" href="./case.html?classid=${lists[i].id}">${lists[i].name}</a>`;
                            }
                            $("#case-childer").html(columnBody);
                        }
                    });
                },
                getInfoArtice: function () {
                    var classid = "4393745145";
                    var page = getQueryString("page");
                    var path = "list/paging";
                    var url = createInfoArticeUrl(path);
                    var count = 9;
                    if (page == null || page == undefined || page == "") {
                        page = 1;
                    }
                    var queryString = { classid: classid, page: page, count: count };
                    $.get(url, queryString, function (res) {
                        var code = res.code;
                        var msg = res.message;
                        if (code == 0) {
                            var page = res.data.page;
                            var total = res.data.total;
                            var lists = res.data.rows;
                            var body = "";
                            for (var i = 0; i < lists.length; i++) {
                                body += `
                                                <li>
                                                    <a>
                                                        <img src="${lists[i].image_src}" alt="${lists[i].title}" />
                                                        <p>${lists[i].title}</p>
                                                    </a>
                                                </li>
                                                `;
                            }
                            var pageHtml = "";
                            var totalPage = getTotalPageNum(9, total)
                            if (page > 1) {
                                pageHtml += `<a href="?page=${page - 1}" class="next">上一页</a>`;
                            }
                            for (var i = 1; i <= totalPage; i++) {
                                if (i == 2 && page - 6 > 1) {
                                    i = page - 6;
                                } else if (i == page + 6 && page + 6 < totalPage) {
                                    i = totalPage - 1;
                                } else {
                                    if (i == page) {
                                        pageHtml += `<a href="?page=${i}" class="curr">${i}</a>`;
                                    } else {
                                        pageHtml += `<a href="?page=${i}">${i}</a>`;
                                    }
                                }
                            }
                            if (page < parseInt(totalPage)) {
                                pageHtml += `<a href="?page=${page + 1}" class="next">下一页</a>`;
                            }
                            $(".after").html(body);
                            $(".pages").html(pageHtml);
                        }
                    });
                }
            };
            $(function () {
                $.mainu.init();
            });
        })(jQuery);
    </script>
</body>
</html>